package com.sunny.client.v2;

import com.sunny.client.v1.RpcProxyClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author Sunny
 * @date 2020/2/6
 */
@Configuration
@ComponentScan(basePackages = "com.sunny.client")
public class SpringConfig {

    @Bean
    public RpcProxyClient rpcProxyClient(){
        return new RpcProxyClient();
    }
}
